//
//  PhotoSheetView.m
//  BaseProject
//
//  Created by 喻飞 on 15/9/23.
//  Copyright © 2015年 yuf. All rights reserved.
//

#import "PhotoSheetView.h"

@implementation PhotoSheetView

/*
 Only override drawRect: if you perform custom drawing.
 An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
     Drawing code
}
*/

- (IBAction)selectPhotographClick:(UIButton *)sender {
    if([sender isEqual:self.cancelButton]){
        if (self.sheetStatusEditBlock) {
            self.sheetStatusEditBlock(@"3");
        }
    }else if ([sender isEqual:self.photographButton]){
        if (self.sheetStatusEditBlock) {
            self.sheetStatusEditBlock(@"1");
        }
    }else if ([sender isEqual:self.photoAlbumButton]){
        if (self.sheetStatusEditBlock) {
            self.sheetStatusEditBlock(@"2");
        }
    }
    
}
@end
